/*
 *    Geotoolkit - An Open Source Java GIS Toolkit
 *    http://www.geotoolkit.org
 *
 *    (C) 2014, Geomatys
 *
 *    This library is free software; you can redistribute it and/or
 *    modify it under the terms of the GNU Lesser General Public
 *    License as published by the Free Software Foundation; either
 *    version 2.1 of the License, or (at your option) any later version.
 *
 *    This library is distributed in the hope that it will be useful,
 *    but WITHOUT ANY WARRANTY; without even the implied warranty of
 *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 *    Lesser General Public License for more details.
 */
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.04.20 at 07:08:32 PM CEST
//


package org.geotoolkit.owc.xml.v10;

import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.JAXBElement;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAnyElement;
import jakarta.xml.bind.annotation.XmlElementRef;
import jakarta.xml.bind.annotation.XmlElementRefs;
import jakarta.xml.bind.annotation.XmlType;
import org.w3c.dom.Element;


/**
 * Information related to the display area used in the creator application when the OWS Context document was produced. This set of properties only applies to creator applications which are using a geographic display and is supporting information to the exploiter of the OWS Context document. Note the elements within creator display are intended as supporting information (metadata) for clients and not properties which should control the display size of the client opening the document.
 *
 * <p>Java class for DisplayType complex type.
 *
 * <p>The following schema fragment specifies the expected content contained within this class.
 *
 * <pre>
 * &lt;complexType name="DisplayType">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;choice maxOccurs="unbounded">
 *         &lt;element name="pixelWidth" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
 *         &lt;element name="pixelHeight" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
 *         &lt;element name="mmPerPixel" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
 *         &lt;any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
 *       &lt;/choice>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 *
 *
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DisplayType", propOrder = {
    "pixelWidthOrPixelHeightOrMmPerPixel"
})
public class DisplayType {

    @XmlElementRefs({
        @XmlElementRef(name = "pixelWidth", namespace = "http://www.opengis.net/owc/1.0", type = JAXBElement.class, required = false),
        @XmlElementRef(name = "pixelHeight", namespace = "http://www.opengis.net/owc/1.0", type = JAXBElement.class, required = false),
        @XmlElementRef(name = "mmPerPixel", namespace = "http://www.opengis.net/owc/1.0", type = JAXBElement.class, required = false)
    })
    @XmlAnyElement(lax = true)
    protected List<Object> pixelWidthOrPixelHeightOrMmPerPixel;

    /**
     * Gets the value of the pixelWidthOrPixelHeightOrMmPerPixel property.
     *
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the pixelWidthOrPixelHeightOrMmPerPixel property.
     *
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getPixelWidthOrPixelHeightOrMmPerPixel().add(newItem);
     * </pre>
     *
     *
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link Object }
     * {@link Element }
     * {@link JAXBElement }{@code <}{@link BigInteger }{@code >}
     * {@link JAXBElement }{@code <}{@link BigInteger }{@code >}
     * {@link JAXBElement }{@code <}{@link Double }{@code >}
     *
     *
     */
    public List<Object> getPixelWidthOrPixelHeightOrMmPerPixel() {
        if (pixelWidthOrPixelHeightOrMmPerPixel == null) {
            pixelWidthOrPixelHeightOrMmPerPixel = new ArrayList<Object>();
        }
        return this.pixelWidthOrPixelHeightOrMmPerPixel;
    }

}
